//
//  BKODAliManager.h
//  bestkeep
//
//  Created by 马乾征 on 16/12/12.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AlipaySDK/AlipaySDK.h>


//支付结果回调
@protocol BKODAliManagerDelegate <NSObject>
@required
- (void)ODWAliManagerDidRecvPayResult:(NSDictionary *)resultDic;
@end

/**
    支付宝支付
 */

@interface BKODAliManager : NSObject
@property(nonatomic, weak)id <BKODAliManagerDelegate>delegate;

-(instancetype)init NS_UNAVAILABLE;
+(instancetype)new NS_UNAVAILABLE;

+(instancetype)manager;

//请求支付宝支付
- (void)payRequestOrderString:(NSString *)order;

//appDelegate 支付宝结果接收
- (void)paymentResultWithOpenUrl:(NSURL *)url;
@end
